package com.rc.evcharger.vo.charge;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.rc.evcharger.common.constant.SocketConstant;

/**
 * 启动充电的入参,非中电联标准
 * Create by Yang on 2019/3/16
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE)
public class StartChargeReq {
    private String tenantCode; //tenantCode 运营商
    private String tenantOperatorCode;//分销商

    private String hlhtOperatorId;//互联互通的operatorID
    private String hlhtTenantCode;//SAAS互联互通运营商

    private Long elecPileId;        //电桩ID

    private Long elecGunId;          //枪ID
    private String gunNum;      //枪码

    private Long memberId;      //会员ID

    private String accountType;  //支付的账户类型 0个人钱包 1企业钱包 2共享钱包 默认0

    private String orderNum;    //订单号
    private String outOrderNum; //外部订单号
    private String orderSource;  // 订单来源 0 公众号 1 APP  2小程序 3.刷卡 4.vin码充电   9.第三方API  默认0

    private Integer cmdCode = SocketConstant.POWER_START;     //指令码

    private String startType;   //启动方式 0:充满为止 1:时间控制充电  2:金额控制充电  3:电量控制充电
    private String startValue;   //启动值 充满停止默认100

    private String ticketUsingType; //优先使用优惠卷,0使用 1不使用

    private String driverId; //司机ID
    private String carVin;  //vin码
    private String carNum;  //车牌号
    private String memberTicketIds; //优惠卷id,多个用逗号分割
    private String isUseGiveAmount;//0，否，1是使用权益金 默认0

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public String getTenantOperatorCode() {
        return tenantOperatorCode;
    }

    public void setTenantOperatorCode(String tenantOperatorCode) {
        this.tenantOperatorCode = tenantOperatorCode;
    }

    public String getHlhtOperatorId() {
        return hlhtOperatorId;
    }

    public void setHlhtOperatorId(String hlhtOperatorId) {
        this.hlhtOperatorId = hlhtOperatorId;
    }

    public String getHlhtTenantCode() {
        return hlhtTenantCode;
    }

    public void setHlhtTenantCode(String hlhtTenantCode) {
        this.hlhtTenantCode = hlhtTenantCode;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getElecPileId() {
        return elecPileId;
    }

    public void setElecPileId(Long elecPileId) {
        this.elecPileId = elecPileId;
    }

    public String getGunNum() {
        return gunNum;
    }

    public void setGunNum(String gunNum) {
        this.gunNum = gunNum;
    }

    public Integer getCmdCode() {
        return cmdCode;
    }

    public void setCmdCode(Integer cmdCode) {
        this.cmdCode = cmdCode;
    }

    public String getAccountType() {
        return accountType;
    }

    public void setAccountType(String accountType) {
        this.accountType = accountType;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public Long getElecGunId() {
        return elecGunId;
    }

    public void setElecGunId(Long elecGunId) {
        this.elecGunId = elecGunId;
    }

    public String getOutOrderNum() {
        return outOrderNum;
    }

    public void setOutOrderNum(String outOrderNum) {
        this.outOrderNum = outOrderNum;
    }

    public String getOrderSource() {
        return orderSource;
    }

    public void setOrderSource(String orderSource) {
        this.orderSource = orderSource;
    }

    public String getStartType() {
        return startType;
    }

    public void setStartType(String startType) {
        this.startType = startType;
    }

    public String getTicketUsingType() {
        return ticketUsingType;
    }

    public void setTicketUsingType(String ticketUsingType) {
        this.ticketUsingType = ticketUsingType;
    }

    public String getCarVin() {
        return carVin;
    }

    public void setCarVin(String carVin) {
        this.carVin = carVin;
    }

    public String getDriverId() {
        return driverId;
    }

    public void setDriverId(String driverId) {
        this.driverId = driverId;
    }

    public String getCarNum() {
        return carNum;
    }

    public void setCarNum(String carNum) {
        this.carNum = carNum;
    }

    public String getStartValue() {
        return startValue;
    }

    public void setStartValue(String startValue) {
        this.startValue = startValue;
    }

    public String getMemberTicketIds() {
        return memberTicketIds;
    }

    public void setMemberTicketIds(String memberTicketIds) {
        this.memberTicketIds = memberTicketIds;
    }

    public String getIsUseGiveAmount() {
        return isUseGiveAmount;
    }

    public void setIsUseGiveAmount(String isUseGiveAmount) {
        this.isUseGiveAmount = isUseGiveAmount;
    }

    @Override
    public String toString() {
        return "StartChargeReq{" +
                "tenantCode='" + tenantCode + '\'' +
                ", tenantOperatorCode='" + tenantOperatorCode + '\'' +
                ", hlhtOperatorId='" + hlhtOperatorId + '\'' +
                ", hlhtTenantCode='" + hlhtTenantCode + '\'' +
                ", elecPileId=" + elecPileId +
                ", elecGunId=" + elecGunId +
                ", gunNum='" + gunNum + '\'' +
                ", memberId=" + memberId +
                ", accountType='" + accountType + '\'' +
                ", orderNum='" + orderNum + '\'' +
                ", outOrderNum='" + outOrderNum + '\'' +
                ", orderSource='" + orderSource + '\'' +
                ", cmdCode=" + cmdCode +
                ", startType='" + startType + '\'' +
                ", ticketUsingType='" + ticketUsingType + '\'' +
                ", driverId='" + driverId + '\'' +
                ", carVin='" + carVin + '\'' +
                ", carNum='" + carNum + '\'' +
                '}';
    }
}
